package com.woniuxy.commons.entity.auth.dto;

import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO:
 * <P> Date: 2022/4/28:11:10
 * <P> Description:
 */
@Data
public abstract class OrganizationComponent {



    public void addOrganizationComponent(OrganizationComponent data) {
        throw new UnsupportedOperationException();
    }


    public void removeOrganizationComponent(OrganizationComponent data) {
        throw new UnsupportedOperationException();
    }


    /**
     *
     * TODO 比较方法 继承类必须实现
     */
    public abstract boolean isHas(Object perm);

}
